#ifndef DATA_BASE_MANAGE_H
#define	DATA_BASE_MANAGE_H
#include <QtSql/QSqlDatabase>
#include "../DataBase_h/DataTableConfig.h"
class QString;
class UserTable;

class DataBaseManager {

public:
 //暂时把实现赋为空
    int Connect(){};
    void DisConnect (){};
    int CheckUser(QString userId, QString userName, UserTable tableName){};  //登录
    bool Register(){};                                                      //注册
    QSqlDatabase GetDB(){return _db;}

private:

   QSqlDatabase _db;
    
};

#endif
